from applications.extensions import ma
from marshmallow import fields


# 用户models的序列化类
class FireOutSchema(ma.Schema):
    id = fields.Integer()
    Name = fields.Str()
    Ring = fields.Str()
    create_at = fields.DateTime()


class RectificationOutSchema(ma.Schema):
    id = fields.Integer()
    Name = fields.Str()
    People = fields.Str()
    Register = fields.Str()
    Rect = fields.Str()
    create_at = fields.DateTime()

